using Domain.Todos;
using SharedKernel;

namespace Domain.Todos.Events;

/// <summary>
/// 待办事项创建事件
/// </summary>
public sealed class TodoItemCreatedEvent(
    Guid todoItemId,
    Guid userId,
    string description,
    Priority priority,
    DateTime? dueDate,
    DateTime createdAt) : DomainEvent
{
    public Guid TodoItemId { get; } = todoItemId;
    public Guid UserId { get; }  = userId;
    public string Description { get; }  = description;
    public Priority Priority { get; }  = priority;
    public DateTime? DueDate { get; }   = dueDate;
    public DateTime CreatedAt { get; }   = createdAt;
}
